//
//  AsyncService.h
//  VinSwiper
//
//  Created by siloon on 5/17/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "SLFoundation.h"

#import "SLAsyncRequest.h"

@interface SLAsyncService : NSObject <SLAsyncRequestDelegate> {
    
}

@property (nonatomic, assign) BOOL debugLogEnabled;

@property (readonly) BOOL isWorking;
@property (retain) NSOperationQueue *requestQueue;

@property (retain) SLQueue *callbackQueue;

- (void)notifiyErrorThenEndRequest:(NSError *)error;
- (void)notifiyFinishedThenEndRequest:(id)data;

- (void)setRequestStartStatus;
- (void)setRequestEndStatus;


@end
